package com.warren.swagger.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("/queryUser")
    public List query(){
        List list = new ArrayList();
        Map map = new HashMap();
        map.put("AAA","AAA");
        list.add(map);
        return list;
    }
}
